package com.lifeibiao.作业0214;

public class Company2 {
    /**
     * 打印员工工资
     * @param caculateMouth  打印工资月份
     * @param colaEmployee   打印的员工对象
     */

    public void printEmployeeSalary(int caculateMouth,ColaEmployee colaEmployee){
        System.out.println(caculateMouth+"月份工资  姓名："+
                colaEmployee.getEmBirthday()+"  工资金额："+
                colaEmployee.getSalary(caculateMouth));
    }
}
